package jfmultitplengine;

import com.jfinal.core.Controller;

public class HelloController extends Controller {
    public void jsp() {
        String[] arr = {"张", "天", "笑"};
        setAttr("arr", arr);
        setAttr("title", "jsp");
        renderJsp("/index.jsp");
    }




    public void thym() {
        setAttr("title", "Thymeleaf");
        render("/index.thym");
    }

    public void ftl() {
        setAttr("title", "ftl");
        render("/index.ftl");
    }


    /*
    public void hot() {
        renderText("Hot!!!");
    }
    */
}